package com.lysj.food.food.controller;

import com.lysj.admin.utils.spring.foundation.base.BaseController;
import com.lysj.food.food.domain.WeighFood;
import com.lysj.food.food.service.WeighFoodService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author Created by wtl on 2019-04-01 16:05:54
 * @description 称重控制层
 */
@Slf4j
@RestController
@RequestMapping("/food/weigh_food")
public class WeighFoodController extends BaseController<WeighFood>{

    @Resource
    private WeighFoodService weighFoodService;

    @Override
    public WeighFoodService getService() {
        return weighFoodService;
    }

}
